package com.cmc.cloud.cmclink.doc.vo.sovo.sosplitcombinedetailvo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.Valid;
import java.util.List;

/**
 * 订舱主Response VO
 *
 * @author 陈正
 */
@Schema(description = "管理后台 - 订舱split VO")
@Data
@ToString(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class SoSplitCreateReqVO {

    @Schema(description = "SO主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "27247")
    private Long oldSoId;

    @Schema(description = "拆分详细")
    @Valid
    private List<SoSplitCombineInfoReqVO> splitDetailList;

}
